class CreateLinks < ActiveRecord::Migration
    def self.up
        create_table "links", :force => true do |t|
            t.column "uri", :text, :null => false
            t.column "created_at", :datetime
            t.column "updated_at", :datetime
        end
        
        add_index :links, :uri
        
    end
    
    def self.down
        drop_table :links
    end
end
